const btn = document.getElementById('btn')
btn.onclick = function () {
  let arrList = new Array(1000000)
}